Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

DO NOT USE THAT CODE!

That code has bugs in it and doesn't always sort properly. It's the same code that was in the Sandbox db a long time ago.

I discovered the problem with this code when I wrote my own QuickSort. I was timing both sorts to see which was fastest. After sorting, I would validate the sort to ensure it was correct. I wrote the validation mostly for my code, but the sorting errors popped up in the Sandbox code.

The code is also faulty because it relies on LotusScript stack space, of which there isn't a lot of. My QuickSort is self-stacked, so if there's enough memory to start running, it always completes.

I'll see if I can post it...


Feedback response number WEBB8YZ6XH created by ~Kim Quetnulylen on 10/12/2012

LotusScript: list top 5 users - sor... (~Umberto Quetwe... 11.Oct.12)
. . Sorting routines are available (~Martha Lopjipy... 11.Oct.12)
. . . . I may have found it but this is anc... (~Umberto Quetwe... 11.Oct.12)
. . . . . . DO NOT USE THAT CODE! (~Kim Quetnulyle... 12.Oct.12)
. . . . . . . . Here are some LS sort routines (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . GREAT info, thanks (~Martha Lopjipy... 12.Oct.12)
. . . . . . . . . . Thanks, Willie!! (~Umberto Quetwe... 12.Oct.12)
. . . . . . . . . . Sorry...slight correction to one li... (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . HELP, WILLY! I am stuck! (~Umberto Quetwe... 19.Oct.12)
. . . . . . . . . . . . The code sorts arrays...not lists. (~Fred Xanjumima... 19.Oct.12)
. . . . . . . . . . . . . . It is working! (~Umberto Quetwe... 19.Oct.12)
. . . . . . . . . . . . . . . . Glad you got it working. (~Fred Xanjumima... 19.Oct.12)
. . Just use a list instead (~Delores Zekree... 11.Oct.12)
. . . . I have never seen this! (~Umberto Quetwe... 11.Oct.12)
. . . . . . good for you (~Delores Zekree... 11.Oct.12)
. . . . . . . . Please post it! (~Umberto Quetwe... 11.Oct.12)
. . . . . . . . . . IsElement() (~Dan Kikiterobu... 12.Oct.12)
. . . . . . . . . . Just use @Sort... (~Tip Opjipymanl... 11.Oct.12)
. . . . . . . . . . . . The beauty of simplicity! (~Umberto Quetwe... 11.Oct.12)
. . . . . . . . . . . . . . If it just has to work then don't u... (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . . . . . . . She only has to sort 5 values... (~Tip Opjipymanl... 13.Oct.12)
. . . . . . . . . . . . . . . . . . I have to sort more than 5 (~Umberto Quetwe... 16.Oct.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS